﻿<%@ Page Language="C#" %>

<%
    MSCaptcha.CaptchaControl sercureControl = (MSCaptcha.CaptchaControl)Session["SercurityCode"];
    string code = Request.QueryString["code"];
    try
    {
        //Response.Write("hi");
       sercureControl.ValidateCaptcha("abcd");

    }
    catch (ArgumentException ex)
    {
        Response.Write(ex.ToString());
    }
    if (!sercureControl.UserValidated)
    {
        Response.Write("0");
    }
    else
    {
        Response.Write("1");
    }
        
%>